#    define MEXIF_TAGID_NIKON1_MakerNoteVersion     0x0001
#    define MEXIF_TAGID_NIKON1_ISO                  0x0002
#    define MEXIF_TAGID_NIKON1_ColorMode            0x0003
#    define MEXIF_TAGID_NIKON1_Quality              0x0004
#    define MEXIF_TAGID_NIKON1_WhiteBalance         0x0005
#    define MEXIF_TAGID_NIKON1_Sharpness            0x0006
#    define MEXIF_TAGID_NIKON1_FocusMode            0x0007
#    define MEXIF_TAGID_NIKON1_FlashSetting         0x0008
#    define MEXIF_TAGID_NIKON1_FlashType            0x0009
#    define MEXIF_TAGID_NIKON1_WhiteBalanceFineTune 0x000b
#    define MEXIF_TAGID_NIKON1_ColorBalance1        0x000c
#    define MEXIF_TAGID_NIKON1_ProgramShift         0x000d
#    define MEXIF_TAGID_NIKON1_ExposureDifference   0x000e
#    define MEXIF_TAGID_NIKON1_ISOSelection         0x000f
#    define MEXIF_TAGID_NIKON1_DataDump             0x0010
#    define MEXIF_TAGID_NIKON1_PreviewImage         0x0011
#    define MEXIF_TAGID_NIKON1_FlashExposureComp    0x0012
#    define MEXIF_TAGID_NIKON1_ISOSetting           0x0013
#    define MEXIF_TAGID_NIKON1_ImageBoundary        0x0016
#    define MEXIF_TAGID_NIKON1_FlashExposureBracketValue  0x0018
#    define MEXIF_TAGID_NIKON1_ExposureBracketValue 0x0019
#    define MEXIF_TAGID_NIKON1_ImageProcessing      0x001a
#    define MEXIF_TAGID_NIKON1_CropHiSpeed          0x001b
#    define MEXIF_TAGID_NIKON1_SerialNumber         0x001d
#    define MEXIF_TAGID_NIKON1_ColorSpace           0x001e
#    define MEXIF_TAGID_NIKON1_ImageAuthentication  0x0020
#    define MEXIF_TAGID_NIKON1_ImageAdjustment      0x0080
#    define MEXIF_TAGID_NIKON1_ToneComp             0x0081
#    define MEXIF_TAGID_NIKON1_AuxiliaryLens        0x0082
#    define MEXIF_TAGID_NIKON1_LensType             0x0083
#    define MEXIF_TAGID_NIKON1_Lens                 0x0084
#    define MEXIF_TAGID_NIKON1_ManualFocusDistance  0x0085
#    define MEXIF_TAGID_NIKON1_DigitalZoom          0x0086
#    define MEXIF_TAGID_NIKON1_FlashMode            0x0087
#    define MEXIF_TAGID_NIKON1_AFInfo               0x0088
#    define MEXIF_TAGID_NIKON1_ShootingMode         0x0089
#    define MEXIF_TAGID_NIKON1_AutoBracketRelease   0x008a
#    define MEXIF_TAGID_NIKON1_LensFStops           0x008b
#    define MEXIF_TAGID_NIKON1_NEFCurve1            0x008c
#    define MEXIF_TAGID_NIKON1_ColorHue             0x008d
#    define MEXIF_TAGID_NIKON1_SceneMode            0x008f
#    define MEXIF_TAGID_NIKON1_LightSource          0x0090
#    define MEXIF_TAGID_NIKON1_ShotInfo             0x0091
#    define MEXIF_TAGID_NIKON1_HueAdjustment        0x0092
#    define MEXIF_TAGID_NIKON1_Saturation           0x0094
#    define MEXIF_TAGID_NIKON1_NoiseReduction       0x0095
#    define MEXIF_TAGID_NIKON1_NEFCurve2            0x0096
#    define MEXIF_TAGID_NIKON1_ColorBalance         0x0097
#    define MEXIF_TAGID_NIKON1_LensData             0x0098
#    define MEXIF_TAGID_NIKON1_RawImageCenter       0x0099
#    define MEXIF_TAGID_NIKON1_SensorPixelSize      0x009a
#    define MEXIF_TAGID_NIKON1_SerialNumber2        0x00a0
#    define MEXIF_TAGID_NIKON1_ImageDataSize        0x00a2
#    define MEXIF_TAGID_NIKON1_ImageCount           0x00a5
#    define MEXIF_TAGID_NIKON1_DeletedImageCount    0x00a6
#    define MEXIF_TAGID_NIKON1_ShutterCount         0x00a7
#    define MEXIF_TAGID_NIKON1_ImageOptimization    0x00a9
#    define MEXIF_TAGID_NIKON1_Saturation2          0x00aa
#    define MEXIF_TAGID_NIKON1_VariProgram          0x00ab
#    define MEXIF_TAGID_NIKON1_ImageStabilization   0x00ac
#    define MEXIF_TAGID_NIKON1_AFResponse           0x00ad
#    define MEXIF_TAGID_NIKON1_MultiExposure        0x00b0
#    define MEXIF_TAGID_NIKON1_HighISONoiseReduction  0x00b1
#    define MEXIF_TAGID_NIKON1_PrintIM              0x0e00
#    define MEXIF_TAGID_NIKON1_NikonCaptureData     0x0e01
#    define MEXIF_TAGID_NIKON1_NikonCaptureVersion  0x0e09
#    define MEXIF_TAGID_NIKON1_NikonCaptureOffsets  0x0e0e
#    define MEXIF_TAGID_NIKON1_NikonScanIFD         0x0e10
#    define _MEXIF_TAGID_NIKON1_Count               68

#    define MEXIF_TAGID_NIKON1_PreviewImage_Compression  0x0103
#    define MEXIF_TAGID_NIKON1_PreviewImage_XResolution  0x011a
#    define MEXIF_TAGID_NIKON1_PreviewImage_YResolution  0x011b
#    define MEXIF_TAGID_NIKON1_PreviewImage_ResolutionUnit  0x0128
#    define MEXIF_TAGID_NIKON1_PreviewImage_PreviewImageStart  0x0201
#    define MEXIF_TAGID_NIKON1_PreviewImage_PreviewImageLength  0x0202
#    define MEXIF_TAGID_NIKON1_PreviewImage_YCbCrPositioning  0x0213
#    define _MEXIF_TAGID_NIKON1_PreviewImage_Count  7

#    define MEXIF_TAGID_NIKON1_AFInfo_AFAreaMode    0x0000
#    define MEXIF_TAGID_NIKON1_AFInfo_AFPoint       0x0001
#    define MEXIF_TAGID_NIKON1_AFInfo_AFPointsInFocus  0x0002
#    define _MEXIF_TAGID_NIKON1_AFInfo_Count        3



extern mexif_tagdb_t mexif_NIKON1_db[_MEXIF_TAGID_NIKON1_Count+1];
const mexif_tagdb_t* MEXIF_API mexif_NIKON1_search( unsigned int tagid );
extern mexif_tagdb_t mexif_NIKON1_PreviewImage_db[_MEXIF_TAGID_NIKON1_PreviewImage_Count+1];
const mexif_tagdb_t* MEXIF_API mexif_NIKON1_PreviewImage_search( unsigned int tagid );
extern mexif_tagdb_t mexif_NIKON1_AFInfo_db[_MEXIF_TAGID_NIKON1_AFInfo_Count+1];
const mexif_tagdb_t* MEXIF_API mexif_NIKON1_AFInfo_search( unsigned int tagid );


